package cz.semjobKB.conllx.api;

import java.util.List;

/**
 * The Interface declares methods to operate over document parts
 * 
 * @author Synergy
 */
public interface IDocumentPart extends ITextPart, IDocumentPartIterator {


	/**
	 * Gets the words.
	 * 
	 * @return the words
	 */
	List<IWord> getWords();

	/**
	 * Gets the sentences.
	 * 
	 * @return the sentences
	 */
	List<ISentence> getSentences();

	/**
	 * Gets the paragraphs.
	 * 
	 * @param <P>
	 *            the generic type
	 * @return the paragraphs
	 */
	<P extends IParagraph> List<P> getParagraphs();

}